package edu.uni.dormitory.mapper;

import edu.uni.dormitory.bean.RoomMaintenance;
import edu.uni.dormitory.bean.RoomMaintenanceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author 郑伟森
 * @create 2019.05.01
 * @function 映射
 */
public interface RoomMaintenanceMapper {
    int countByExample(RoomMaintenanceExample example);

    int deleteByExample(RoomMaintenanceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RoomMaintenance record);

    int insertSelective(RoomMaintenance record);

    List<RoomMaintenance> selectByExample(RoomMaintenanceExample example);

    RoomMaintenance selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RoomMaintenance record, @Param("example") RoomMaintenanceExample example);

    int updateByExample(@Param("record") RoomMaintenance record, @Param("example") RoomMaintenanceExample example);

    int updateByPrimaryKeySelective(RoomMaintenance record);

    int updateByPrimaryKey(RoomMaintenance record);
}